package com.czxy.demo06;

public class Test01 {

    public static void main(String[] args) {
        int a = 0;
        for (int i = 1; i <= 100; i++) {

            if (!String.valueOf(i).contains("9")) {
                a++;
                System.out.print(i + "  ");
                if (a%5 == 0){
                    System.out.println();
                }
            }

        }
    }
}
